package com.panda.admin.gateway.security;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * author: tcy
 * createDate: 2023/2/8
 * description: 白名单放行路径
 */
@ConfigurationProperties(prefix = "security")    //从配置文件中读取信息，转换为实体类
@Component
@RefreshScope
@Data
public class WhiteListProperties {

    private List<String> ignoreUrls;
}
